package com.yonyou.pmclouds.basecom.conf;

import com.yonyou.pmclouds.basecom.condition.PublicDeployCondition;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Conditional;

@Getter
@Setter
@Conditional(PublicDeployCondition.class)
@ConfigurationProperties(prefix = "pmcloud.productactive")
public class ProductActiveProperties {

    private String activeUrl;

    private String activeRequestUrl;
    private String activeMsg;
    /**
     * 响应云商务的订单的密钥
     */
    private String responseSecret;
    /**
     * 请求查询、激活云商务的密钥
     */
    private String requestSecret;
    /**
     * 工程现场的商务系统id
     */
    private String appBuziId;
    /**
     * 存储空间的商务系统id
     */
    private String storageBuziId;
    /**
     * 是否打开用户数控制
     */
    private boolean enableCtrl = true;
}
